import { User } from '@/m_res/user'
import { addUser } from '@/m_req/User'
import { res } from '@/utils/jsonResult';
import { User as UserType } from '@/m_res/user'

export interface UserService {
    GetAlluser(): Array<User>;
    GetOneUser(id: number): Promise<res<UserType | null>>;
    addUser(params: addUser): Promise<res<null>>;
    Login(params: addUser): Promise<res<UserType | null>>;
}